package com.auxgroup.smarthome.inner.repo;

import com.auxgroup.smarthome.inner.entity.PushRecordEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by lixiaoxiao on 17-10-16.
 */
public interface PushRecordEntityRepo extends JpaRepository<PushRecordEntity,String>{
    List<PushRecordEntity> findAllByUidAndPushTimeIsGreaterThanOrderByPushTimeDesc(String uid,String time);
}
